gives feasible solution for very small N