The equivalence problem for programs with mode switching is PSPACE-completeстатья