Nicer leading zeros check