Similar Items: Hierarchical causal structure discovery from layered topological orderings