isn't it "too fast" since x is an array scalar?  or that was intentional?  may be should be looped or smth?