trimmed some margin from the edges