A simplified version of rmmseg.