A template-based approach for parallel hexahedral two-refinement. (April 2017)