Ensure that dense-packing always prioritizes the start-most track opening. Item 6 should go into the top-most track-opening.

1
6
2
4
5
3