Mesh fixing in Ada