mod input size subtleties