Upon consideration of the factors listed above and the purposes of this chapter, the board of appeals may attach such conditions to the granting of variances as it deems necessary to further the purposes of this chapter.