- removed timing of permutation to avoid bug when using bilinear interpolation