fully documented propagation cost calculation