Script to calculate the coordinates of all hierarchies.