Updated with complexity changes, STAR and fusion support.