Help for this page
$paths->[0][0][0] = [ [ 3, 0, 0 ], ... ]; ...
$paths->{0,0,0} = [ join($;, 3,0,0), ... ]; ...
sub to_key { my ($x, $y, $s) = @_; ... ); ...