restructure ransac files