Edit distance
Maximal rect