Solutions for Nearest Smaller Values