clarified the snap-frame function

possibly even improved performance...