Least remaining time is working properly