only create structural analysis if explicitly needed