Fix bugs in jammed.js:spaceAvailableInLane and update consts to make things go faster