added new collision algorithm col4

works better than previous one