Let f:[2,3]→B be a function defined by f(x)=[log2[x2+2x−1]], where [.] represents the greatest integer function. If range of f is B, then