Split large macro definition for better debugging