Potential fix for better bin boundaries