RCA calculations now can work over multiple depth nestings