Changed the push and pop toggle condition which minRegisterRequired is needed only.