Adjusted layers' sizes