takeExact for streams