compiled patch for pattern fills