An analysis of road network optimization