A compound has 3 chiral carbon atoms. The number of possible optical isomers it can have