altering the flow. it ate all memory when sucking in histogram, working
around by DB use.