found bug in marching, need to fix