refactored sampling of area light a bit