few changes to the 2D slice dBres dBkink functions