New collision algorithm