Moving positive and negative sample extraction from SlidingWindow to BuildScales to keep scale consistent