[FIX] fixed invalid mem access in the stree iterator factory