my $half = 16; # make 32 for 64-bit perls