why ```builder.getPrimaryOwned(primaryOwner) - 1``` while in line 402 you have ```bestSegmentsPerCapacity = (primaryOwned + 1) / capacityFactor```