Update line.class.js

Don't ask why. For me half dimension was more than enough.