added filter length as parameter for config