added anti-aliasing and further removed short line jitter