grain: allow finer grain
(cherry picked from commit 5839209d9262008088809dfdaa78efd2a5f3959f)