asmjs piHex