add tolerance support for holes