added reduceSize