The utilization of total mass to determine the switching points in the symmetric boundary control problem with a linear reaction term