Refactor radius_not_exceeded? and add logging