Building on the sides with the best conditions ... the foundation and runoff from the roof. You don't want the deck to contribute to an erosion problem or allow rainwater to pool around the foundation ...