Update decode logic (using stack now)
Refactorying source code
Update decode logic for nestable block elements
Refactorying source code
Update decode logic for nestable block elements
Refactorying source code