Refactored the associativity function and indirect product experiments