read width length and height