changing SPPDetectorLayer to allow multiple stride