Changed the code for the colour merge. Works a bit better now