Fixed first zero element and removed additional '1' from chain.