Fixed indentation in complexity.rsc
changed  scatter.rsc API
main using new API scatter.rsc