Controling device dimensions