lkpyramid.cpp: final fix ?