[L] Change in osmo-pcu[master]: Move out of alloc_algo code modifying the data model