reallocarray() -- a little tricky to review
ok doug millert