Fix dimension

fix the resizing of the components, now perfectly manages multi
dimensions