add spatial pyramid descriptor