Fix toMod' to not truncate the result
Merge pull request #1 from klao/master

Fix toMod' to not truncate the result