Expanded the direction bits in the planner blocks to 32 bits.
Added separate step/direction inversion masks.