better focus&range determination