Reduce size of data to read.

Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>