Defining the distance and elevation volume