PSD slicing based on layers.