Fixed snapping for cases with large snapSize