recuresive calc of scoreboard