I would have thought the obvious thing to do would be to have a direct equation - 0.5, 1 or 2 GB per BP (if you're using the variable BP cost) or just 2 GB = 1 BP if not.