improve the ALK range

update range calc at begin of each phase, except the last phase;
make minimum range to be 3 bins