Master box and grid snaping