Added any to any node max path sum calculation.