Fixed mesher

Mesher was fixed but still is quite slow