set dependency_id to nil if pos < depend_pso