A fast hp adaptive finite element mesh design