Set width and heigth in constructor