removed function declaration computeZoomMatch