setRect(Geometry.Rec) function in escript