add median time to all tables

also disable 'default' reports for now
fix median in tag reports
return upper limit of histogram segment
return center of the histogram segment
use calloc() to initialize histogram data
optimize a bit and use float
increase histogram size