Added restitching of terrain atlas