Adjusts size to prevent breaking.