now uses value (from hierarchy) instead of size