why does the sun's altitude affect shadow length