Layout based on trimm