gostr3411-94: Fix the iteration count for length filling loop.