Initialisation of prev_pixel_xhits = [999, 999]. This prevents a break down when the first event is empty. For the moment, our DUTs have less that 999 pixels and this value is unreachable.