Molint moproblems

A rebased #1059