store heights, and pruned histories