I noticed that the ObjectId generation uses a machine ID and process ID to generate bytes 4-8. This was replaced with a 5-byte random value that is generated once per process back in 2018 as per the ObjectId Specification. Changing this will also speed up generation of new ObjectIds, as the value can be initialised once per process in a static property, instead of the current logic that runs pack, substr, md5, and gethostname.