Determine trailing zero count more correctly.