quick addition of a safe configuration trimming. Hack to use that in the constraint generation. The final configuration is not extended back to the full configuration yet.