Enable choice of max monomial degree in manybody.State

parent af697118
Pipeline #43515 failed with stages
in 3 minutes and 18 seconds