completed dimensions classes, with checking periodic and reflexive boundaries