Allocation algorithms for PRIMO system