DRY up initMeshBuffers

untested :-1: