Engineering Corner States from Two-Dimensional Topological Insulators.