Limit bottom layer to border