SPA algorithm functional as far as I can tell. Might be issues hidden away, but tough to tell