unify width and height of pics