Creating planar surfaces