Integrate compute_distance2boundary and move_packet_across_shell_boundary (broken, endless loop)
Replace compute_distance2inner and compute_distance2outer with compute_distance2boundary