Stoke simulation error --Runtime error: bad allocation