better assignment of rack environment