mesh adaptation