I feel like tying work to the cost of your apartment is a distressing step towards company towns and company stores. Let labor and capital negotiate for rates based off what the cost of the labor is and the value it provides the company rather than coming up with Byzantine formulas that imply that a workers housing cost is the business of the company.