Dynamic boundary surface detection