Memory initialization issue to get nan sometimes