x_rnd,y_rnd now can have also negative values