reduced the amount of collision checks