newAnnotation.addToIndexes();
stream.addAnnotation(newAnnotation, match);
} else {
RutaAnnotation tma = stream.getCorrectTMA(annotationsInWindow, heuristicAnnotation);
if (tma != null) {
tma.removeFromIndexes();
double newScore = tma.getScore() + deltaScore;
tma.setScore(newScore);
tma.addToIndexes();
} else {
heuristicAnnotation.addToIndexes();