fix 2 bugs: 1>class fields init 2>default loop chunksize refine