Fix in the dot_score calculation, was causing wrong start points to be selected.