Perfect cube using multiplication