@larsmans in the block above you set ``Xf[p]`` for ``p in range(0, end-start)``. Here ``p`` runs from ``range(start, end)`` - is that correct?