fixed check when computing root blocklength to return current blocklength value when hitting a group