Cutting the cost of patenting discoveries