A global method for reducing multidimensional size graphs