fixed bug in parallelogram decompression