Make sure loop lengths are even.