gap penalty estimation uses golden section search