use more direct copy of scalaz code for align