fix when images are not power of two ... brak tests