Patched main.js -- testing Y for correct range.