added method to return the 2D size of a size. usefull for multilayer rastercoverage