Multi-step planning of eye movements in visual search