Data conversion from flat to hierarchical implemented.