icnc: ranges for input and output, context params, dist-ready, env in and out