parallel rewritten
fixed a bug about iterates