Fix boundary conditions in kronos