optimized env.go zeroByte check