Create Maximal Rectangle (pyemma)