linked L3 and L2. fixed some bugs...

compression and decompression of data between L3 and L2.