Updated length suggestion logic.