Moved the boundary generation towards the init function, to ensure that
the initialization order in the model constructur is allowed to be
random