Also implement cost estimation in the symian script.