draft of subdivideBucket