Configurations for short period rf undulators