add complexity checks in the build