support for several scale per octave for spatial pyramid implementation
add support for several scale per octave for joint 3d with spatial pyramid implementation