public function compress() {
        $output = 0;
        $n = $this->chord;
        while ($n > 0) {
            $temp = $n & 4095;
            $output = $output | $temp;
            $n = $n >> 12;
        }
        return $output;
    }