Don't pre-scan the bases for each range from every single thread.