Separation of C1−C5 hydrocarbons in a single run