at fork, expand frontier and switch sides