4corner functionality, sped up computation, increased lookahead, major bugfix