auto compute exposure