Result Size: 625 x 571
Before swap:
1020
After swap:
2010