Make volume envelopes more efficient

Returns early if finished.