Begin auto row calculation