Let ABCD be a square such that vertices A,B,C,D lie on circles x2+y2−2x−2y=0, x2+y2−2x−2y+1=0, x2+y2+2x+2y+1=0 and x2+y2−2x+2y+1=0 respectively with center of square being origin and sides are parallel to coordinate axes. The length of side of such square can be