partitioned histogram