fix off by one error that resulted in messed up meshes. mesh exporting works!