support for nonorthogonal boxes in replicatemol