Dear Valery, Now, everything is ok. I test for large system, the results are right. Thanks a lot for your help. This method is very good!! Best Regards, Limin