Optimizing VANET Performance in Semi-Urban Areas