v0.0.17: more robust for small number of significant DERs. Fixes #4