fixed patch extraction