Refactoring for higher performance

Split nodes at once when Parser#parse() is called.