improve ransac demo