compact decode