add the time to build-index