- Added 1px extra margin to deal with bicubic interpolation nicely - Code should be a bit more clear now