added a feasibility test for 3d