Fix edge count bug and save space to compile with O2
Add changelog for 2.0.4