change threshold of snapping