SYMMETRIC-TREE problem (in iterative way)