* introduced an upper bound to incident cost
* further docstring