split parser stack into val_ and ptr_ + added signature_name_length to work around handling varint lengths