randomizing by rectangles the input picture!