fix createP1mesh and use  boost::unordered_map