[Metal Pattern 001] shell mathematics