dynamically sizes cells