Repaired Surface generation