Support some parameters for calculation
Correct houses calculation.