Separate dictionary in chunks for a better parallel work