compacting directions