Mathematical algorithm for selection of spt resistance value in foundation design