fix(vault): Optimize vault usage computation (closes #5043)