Hierarchical Conditional Category coding