If optimization increases file size, optimization is skipped

version bump to 0.3.1