Use a custom structure to pass destination dimensions, to avoid any confusion