A novel mathematical mechanism of the critical endpoint generation