bcas integration
bcas updated
Some optimizations mostly based on caching and postponing