Dear François I guess your suggestion concerning the global variables is true. I will try to localize and simplify this problem and will do a bug report. But what is surprising if I set the breakpoint before these loops typically U variable keeps its dimension. --------- best regards, Ivan