rotateuvmap and add leafoffset option