Check when pos_in or pos_out is empty in brownian motion