Computer Rank from head or tail adaptive works now,but the result is not good