modify ranker.m and more debug for recursive critical energy included in ecrit3.m