Support periodic spaces
pass tests