Improved size of spectrum passed to MaxFlow