SMS dit: The science of instream flows