Simple 3d mesher that tries to make balanced geometry partition