remove_before_space function
Estimation of code length working + tests.