not optimal, but storing height and width.