tweak feature calculation code so we don't get round numbers