Macroeconomic implications of mortgage loan requirements: an agent-based approach