add boundary check option in menu and allchecks.f90