Added the bucket functionality for row keys