leetcode maximal rectange - failed in large test, still