Computing volumes using shells