Modify house points algorithm