finished maximumPot feature

the feature is now complete and should work without problems as far as i
tested