@jalabort what exactly is this warp for? Is the template really a mask, or are you just using it for shape? Could replace with `warp_to_shape` if so...