Fix decomposition

Fixed a case where uniform decomposition mistakenly reject computed desomposition (2D and 1D)