why is this overflowing on pi and not my laptop?\! Why?\!\!