wrongly added step_size to increment by datasize rather than in bytes. fixed that