recursive scoring DOT