Add modular short encoding