A nonuniform triangulation algorithm for planar domains with holes