Periodic BC correction