find smallest node