Fast simulation of polymer chains