transfer range() near parallel loop()