Fixed flop-accounting for periodic improper dihedrals