Integrate compute_distance2boundary and move_packet_across_shell_boundary (broken, endless loop)