Refactor 'construct binary tree from post-order and in-order'.