[debug] get rid of indexBucket calls for performance measurement