Fix cbrtocbz logic