snap code optimization, vault points added

Should remove undefined variable errors for newer betas. Range check reduced to improve fps for people with crazy bases, does not impact building much, but any range under 10 meters will break snap for larger objects like metal floors.