refactored bucket region lookup