bump to v0.4.0 with more geometry encoding fixes