I think he means an inch between lugs.!Yep or just use a spirit level across the fixed lugs, larnacaman mentioned level the top of the boxes but this does not guarantee the alignment why wouldnt it.? like going across the lugs does. Measure an inch between boxes to get a decent spacing. Laser level is good but if you are tight and have no laser/couplers then the spirit level and tape measure method will work just as well.
it = 1/2" between boxes to look professional
as for hitting the cavity,
expanding foam is your only answer IME.
then some plasterboard adhesive, or lacking that some bonding with a handful of cement thrown in to help it go off quicker.