discovery: support size para

i think it is ok to be here.