calculate volume added

a function that generate volume array added