intelligent cis calculation