Convert final gems to binary hopefully