made images a power of 2