pub(crate) const fn get_new_factory_deps_reserved_slots(subversion: MultiVmSubversion) -> usize {
    get_max_new_factory_deps(subversion) + 4
}
Slots used to store the calldata for the KnownCodesStorage to mark new factory
dependencies as known ones. Besides the slots for the new factory dependencies themselves
another 4 slots are needed for: selector, marker of whether the user should pay for the pubdata,
the offset for the encoding of the array as well as the length of the array.
core/lib/multivm/src/versions/vm_latest/constants.rs