Last version deducing `periodic` from input data