Fast and efficient preparation of 1D chains and dense cold atomic clouds