change mesh dimension