B:BD[
2.1221] → [
2.1221:1404]
var childs States
// log.Println(oldStatesSize)
for _, st := range states[oldStatesSize:] {
childs = append(childs, genStates(st[0], st[1], sizeBucketOne, sizeBucketTwo)...)
// log.Println("states:\t", states)
var childs = make(States, statesNum*(len(states[oldStatesSize:])))
for i, st := range states[oldStatesSize:] {
sts := genStates(st[0], st[1], sizeBucketOne, sizeBucketTwo)
for j := 0; j < statesNum; j++ {
// log.Printf("%d:%d:%v ", i, j, sts[j])
childs[statesNum*i+j] = sts[j]
}