A focal plane detector for both light and heavy ions