Method for best alignment tree evaluation