Moving arrangedSize from output to state variable.