https://github.com/kctess5/range_libc/blob/1251dc3c72f8dd72204ca32ac745fa90cb097e4e/pywrapper/RangeLibc.pyx#L142
Shouldn't this be
self.thisptr = new OMap(<int>width,<int>height)
instead?
Otherwise at L145 we access grid[width-1] whereas grid is initialized to size height here