some resizing of dimensions