Modified MINIMIZE-LAYER according to new representation.