graph now sets the correct size