added heap statistics to IndexBuilder