base classes and z3 maxsat test