treatBoundary is ready