Make focus_size depend on allocation size