split out version code, use for bitcask calc