make padToSquare padding order append first when size is uneven + fixed issue when dimensions differ by 1 only