Code match strategy for WCDMA code tree management