cleaned up logical binary shortcutting and fixed bug in writeJump