Revert "--markj338   lib/int_sqrt.c: optimize square root algorithm"

This reverts commit aea291a1a18f48a208b09c5cb05644ab0132b089.
Revert "add ion mem", moving to own branch

This reverts commit 7db62fc3fa72c9df4d663d6fed8c2c2cfcb1ee06.