Alternative edit graph implementation and scoring algorithm.