v5.8.7 - properly calculate the resulting sapling ID