Volume is determined by measuring