work with larger differences in dimensions