Fixed the calcbl offset. Close #797. (#798)