calculating h per sp
translations