Updating: improving libats-hwxi/teaching/cstream