Structure-curing relation for polyamic acids