My code is bad, but using valgrind I am shure that the poorly named function rmv_spc is fudgin perfect!