Use project size instead of hardcoded variable