Write a volumes iterator