improve finding indented blocks