there's some randomization, if you find yourself going very close to a box, keep trying with that combination and you'll eventually get it