Updates to base string algorithms