Changed the simple collision algorithm