putStone checks for negative index