Fixed bug on number of used buckets.
Added new monitoring metric: distance to free bucket during insert.