changed the allocation_id array uses  pointer to bid now, adde bin for each bid