[AdgLDim] Improvements on the arrange() phase