GUAC-665: Narrow cost estimation algorithm.