refine ablock2pac