Modify RANSAC