You could add another parameter to specify the size of the data.