loads heigh/width once