AFM: fitting