High-order mesh preprocessor and p4est interface