set copy=False everywhere
removed all copy from affine_transform
removing unused offset_map