move with accelerations aA and aB