Further separation of make_cmd and make_resize_cmd. The origin parameter should be only on the first