Mr. Lewis said New York 's average closing costs still led the nation last year , at $ 3,867 , but that amount was based on settlements in New York City , whereas this year 's estimates were based on mortgages closed in Buffalo , where the average mortgage amount is far less and where mortgage taxes are lower .