Changed the size of data buffer to config value. Earlier this was
lesser.