fixed signed/unsigned compiler warnings in Mesh