Try to populate binary tree.