Statistics for Automatic Hybrid Hierarchy Creation: a Cost-model Based Approach