Fixed cbp_compressed_get_lengths