copy subtractions, side paddings in library