add build script
compute padding properly