You are right, no need to use fixed  localsize here.