Modeling terrain effects and application to the wind loading of low buildings