optimize dependency object