refactor jkns build cube so args are passed to extract not __init__