I used newtons method to approximate the golden ratio (or you could just use 0.5+sqrt(1.25)) This uses 6 iterations, as 7 would make the values equal due to floating point precision.