Piezoelectric performance improvement via macromolecular rearrangement