Discretized model for diffusion of a chain in one dimension.