Decoding depth limitation/SIGSEGV fix