Effect of social factors on caste differentiation in the ant aphaenogaster senilis