initialisation closer to what LZLLV variant does