tweaks to handle off by 0 bugs, expand virtual grid size