upload modified crosstab algorithm