stack database size lines
Compute correct value for tooltip