If the volume of the parallelopiped is \[158 \mathrm{~cu}\]. units whose coterminus edges are given by the vectors \[\bar{a}=(\hat{i}+\hat{j}+n \hat{k}), \bar{b}=2 \hat{i}+4 \hat{j}-n \hat{k}\] and \[\bar{c}=\hat{i}+n \hat{j}+3 \hat{k}\], where \[n \geq 0\], then the value of \[n\] is