volume comp function for no change in volume