change default dimensions to be powers of 2