Fixed the case where integers cross a storage boundary
Stronger test case in main. Basic functionality seems to be working. Now onto performance}