make sure the figures do not take too much space