add manual distance snap by Robert S.