Expanded utils to enable image decomposition into tiles of given size