converting snap to standalone all-vertex procedure, compiles...
actually snap to the right coordinates