add genZeroMap
add more stubs, leave occupiedByPlane undone