inlined code rying to emulate old-mrfy-simplified

(7.29s on short benchmark vs 6.74s, not good enough)
remove special cases for I/0/i and D/1/i; result is faster but not perfect
7.14s versus 6.75s