remove non connected faces
fix compilation