updated version
use interval only while graphing
fill initial top table faster