Algorithm initial code base