fix compilation warning from volume.c
add that one big loop that fills that array thing