adding golden section method