fix issues related to pop_vised when there is no initial marks structure