optimize the index periodically to make sure we keep the files at bay