Forget to store the required length of an algorithm, now fixed.