discovery: support size para

k. i just personally think that the life time for a variable should be as less as possible.