more size optimisations, scoring of completed lines