improve set prototype chain performance