Adjustments on mesh construction