In all cases where representation is admitted, partition is effected by stock, as if the represented person came to the succession; if applicable, it is effected by subdivision of stock. Within a stock or subdivision of a stock, partition is made by head.