Sets max distance and making things not suck