Fixed problem where variable numbered blocks were generating wrong hash