LGTM. Sanity testing untrusted input seems a deeper improvement than just increasing the width of `n`. It probably could use refactoring of absolute vs. relative position variable names to increase semantic clarity, but naming things is hard. Thanks for your diligent maintenance.