mod: adding thresholds for rotation and translation