Finish the logic of searching the efficient area.