Tight Bounds for HTN Planning with Task Insertion