1. update Iterator 2. add ToSlice method
update test case