Implement r_chunk to split requests into n chunks