Pad The Domain If Input Is Non Periodic