isl_stream: add some auxiliary functions