use index represent highway type to reduce memory cost