Transform the query into a box initializing the dimensions that must not be taken into account by the operators to infinity.