Hopefully Fixed continuous grid code.