hardcoded volume calc, this is the hardcoded version not object oriented