Fix small bug in ByFrameSolver. self.max_assigned_cost was set to 0 during init
instead of self.death_cf.context['cost'].