update algebra for calculating every 4th child