Corrected some collission logic and distances.