fix for out of bounds problem (bloody stateful programming)
fix for out of bounds problem (bloody stateful programming)

bast/xcint,robertodr/xcint,robertodr/xcint,miroi/xcint,robertodr/xcint,miroi/xcint,dftlibs/xcint,dftlibs/xcint,dftlibs/xcint,bast/xcint,miroi/xcint,bast/xcint