rebuild after alignment changes