Allow user to specify size of used data array