generalized aligning to arbitrary number of channels