changed SplitBucket Method. (simplified it)