Improved compareBottom