Memory alloc of MaxMin matrices changed