working on snapping to grid. uniform sizes of samples are working. need to add the actual snapping.
snapping to square grid works