Parallel object allocation via user-specified directives: A case study in traffic simulation