Very hacky depth limited search