Nonparametric boundary regression