impl. auto fit length block function