Replaced move_packet with the C version in montecarlo.pyx