optimize geo libraries