Trigger the outer loop calculation during class initialisation instead